package com.sharechef.redis.core.constant;

/**
 * redis 常量
 */
public interface RedisConstants {

    public static final String CACHEKEY = "CACHEKEY";

    public static final String ALL = "ALL";

    /**
     * 权限列表
     */
    public static final String ROLE_MENU_LIST = "ROLE_MENU_LIST";

    /**
     * 当前用户信息
     */
    public static final String CURRENT_USER_INFO = "CURRENT_USER_INFO";
    /**
     * 修改密码
     */
    public static final String SYS_UP_PASSWORD = "SYS_UP_PASSWORD:";

    /**
     * 默认过期时长，单位：秒
     */
    public final static long DEFAULT_EXPIRE = 60 * 60 * 24;

    /**
     * 不设置过期时长
     */
    public final static long NOT_EXPIRE = -1;

    /**
     * 时间格式
     */
    public final static String DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";
}
